home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / PowerFantasm™ 4.19a / PowerFantasm™ / PowerFantasm Documentation / PF User Manual 4 unreg.srd / PF User Manual 4 unreg.srd.rsrc / PICT_81.png < prev    next >
Portable Network Graphic  |  1997-05-21  |  93KB  |  816x1056  |  16-bit (501 colors)
Labels: book | bulletin board | chat room | hakham | reckoner | sky
OCR: May 1997 PowerFantasm 4 User Manual Rev 7 Page Using Code branches and toc routines. Normally one would either use a branch or a conditional branch to access subroutine. Unconditional branches have range of 2^22 words. Conditional branches have range of 2^14 words -32766 bytes. The creation of jump tables accomplished with the directive toc routine" This causes Fantasm to give the label TOC entry which can then be accessed using simple supplied macro called "bir 10J "branch immediate long or 'bill' for "branch immediate long and link" Of course you may well have other ways of accessing such code Example delay 1 toc routine blr This subroutine can either be accessed with "bl delay l" or "bill delay 1 This c the expansion Q macro ""bill: *bill same as bil but puts return address in link regi ...